<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		
	</head>
	<body>
		<div id="innerHtmlDiv"></div>
		<div id="innerTextDiv"></div>
		
		<script type="text/javascript">
			var innerHtmlDiv = document.getElementById('innerHtmlDiv');
			var innerTextDiv = document.getElementById('innerTextDiv');
			innerHtmlDiv.innerHTML = '<span style="color: red;">innerHTML</span>';
			innerTextDiv.innerText = '<span style="color: red;">innerText</span>';
		</script>
	</body>
</html>
